package com.balabala.goods.api;

import com.balabala.goods.pojo.Spu;
import com.balabala.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * Author:zl
 * Date:2023/5/6 18:50
 */
@FeignClient(value = "gym-goods-service", contextId = "goodsFeign")
public interface GoodsFeignClient {

    @GetMapping("/admin/Spu/findAll")
    public Result<List<Spu>> findAll();
}
